package io.renren.modules.sys.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 组织人员信息
 * 
 * @author jingtang
 * @email sunlightcs@gmail.com
 * @date 2018-06-29 15:52:06
 */
@TableName("sys_org_user")
public class OrgUser implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId
	@TableField(value="org_user_id")
	private String orgUserId;
	/**
	 * 组织ID
	 */
	@TableField(value="org_id")
	private String orgId;
	/**
	 * 用户ID
	 */
	@TableField(value="user_id")
	private Long userId;
	/**
	 * 租户ID
	 */
	@TableField(value="tenant_id")
	private String tenantId;

	/**
	 * 设置：ID
	 */
	public void setOrgUserId(String orgUserId) {
		this.orgUserId = orgUserId;
	}
	/**
	 * 获取：ID
	 */
	public String getOrgUserId() {
		return orgUserId;
	}
	/**
	 * 设置：组织ID
	 */
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	/**
	 * 获取：组织ID
	 */
	public String getOrgId() {
		return orgId;
	}
	/**
	 * 设置：用户ID
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户ID
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：租户ID
	 */
	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}
	/**
	 * 获取：租户ID
	 */
	public String getTenantId() {
		return tenantId;
	}
}
